/**
 * Created by Administrator on 2017/5/27.
 */
/**
 * @author yukaizhao
 */
$.extend($.fn.validatebox.defaults.rules, {
    /*必须和某个字段相等*/
    equalTo: {
        validator:function(value,param){
            return $(param[0]).val() == value;
        },
        message:'字段不匹配'
    }

});